package domain;

import javax.persistence.DiscriminatorColumn;
import javax.persistence.DiscriminatorType;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorColumn(name="DISCRIMINATOR_ENTREPRISE", discriminatorType=DiscriminatorType.CHAR)
@DiscriminatorValue("E")
public class Entreprise extends Contact{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long numSiret;
	
	public Entreprise(){}
	
	public Entreprise(long numSiret){
		super();
		this.numSiret=numSiret;
	}

	public long getNumSiret() {
		return numSiret;
	}

	public void setNumSiret(long numSiret) {
		this.numSiret = numSiret;
	}
}
